package csc.fresher.entity;

import java.sql.Timestamp;

public class DepositTransaction {
	private long transactionID;
	private double funds;
	private Timestamp beginTime;
	private Timestamp endTime;
	private TransactionType transactionType;
	private long receiverID;
	private long senderID;
	private TransactionState transactionState;
	private double currentBalance;
	private double afterBalance;
	private long depositAccountNumber;
	private long createdBy;
	private long approvedBy;
	private boolean isInternetTransaction;
	private long relatedTransaction;
	private String content;
	
	public DepositTransaction() {
		super();
	}

	public DepositTransaction(long transactionID, double funds, Timestamp beginTime,
			Timestamp endTime, TransactionType transactionType, long receiverID, long senderID,
			long savingAccountNumber, TransactionState transactionState,
			double currentBalance, double afterbalance,
			long depositAccountNumber, long createdBy, long approvedBy,
			boolean isInternetTransaction, long relatedTransaction, String content) {
		super();
		this.transactionID = transactionID;
		this.funds = funds;
		this.beginTime = beginTime;
		this.endTime = endTime;
		this.transactionType = transactionType;
		this.receiverID = receiverID;
		this.senderID = senderID;
		this.transactionState = transactionState;
		this.currentBalance = currentBalance;
		this.afterBalance = afterbalance;
		this.depositAccountNumber = depositAccountNumber;
		this.createdBy = createdBy;
		this.approvedBy = approvedBy;
		this.isInternetTransaction = isInternetTransaction;
		this.relatedTransaction = relatedTransaction;
		this.content = content;
	}
	
	
	public DepositTransaction(double funds, Timestamp beginTime,
			Timestamp endTime, double currenBalance, double afterBalance, TransactionType transactionType, 
			long receiverID, long senderID, TransactionState transactionState,
			long depositAccountNumber, long createdBy, long approvedBy, boolean isInternetTransaction, String content) {
		super();
		this.funds = funds;
		this.beginTime = beginTime;
		this.endTime = endTime;
		this.currentBalance = currenBalance;
		this.afterBalance = afterBalance;
		this.transactionType = transactionType;
		this.receiverID = receiverID;
		this.senderID = senderID;
		this.transactionState = transactionState;
		this.depositAccountNumber = depositAccountNumber;
		this.createdBy = createdBy;
		this.approvedBy = approvedBy;
		this.isInternetTransaction = isInternetTransaction;
		this.content = content;
	}
	

	public long getTransactionID() {
		return transactionID;
	}

	public void setTransactionID(long transactionID) {
		this.transactionID = transactionID;
	}

	public double getFunds() {
		return funds;
	}

	public void setFunds(double funds) {
		this.funds = funds;
	}

	public Timestamp getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Timestamp beginTime) {
		this.beginTime = beginTime;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public TransactionType getTransactionType() {
		return transactionType;
	}

	public void setTransactionType(TransactionType transactionType) {
		this.transactionType = transactionType;
	}

	public long getReceiverID() {
		return receiverID;
	}

	public void setReceiverID(long receiverID) {
		this.receiverID = receiverID;
	}

	public TransactionState getTransactionState() {
		return transactionState;
	}

	public void setTransactionState(TransactionState transactionState) {
		this.transactionState = transactionState;
	}

	public double getCurrentBalance() {
		return currentBalance;
	}

	public void setCurrentBalance(double currentBalance) {
		this.currentBalance = currentBalance;
	}

	public double getAfterBalance() {
		return afterBalance;
	}

	public void setAfterBalance(double afterBalance) {
		this.afterBalance = afterBalance;
	}

	public long getDepositAccountNumber() {
		return depositAccountNumber;
	}

	public void setDepositAccountNumber(long depositAccountNumber) {
		this.depositAccountNumber = depositAccountNumber;
	}

	
	public long getSenderID() {
		return senderID;
	}

	public void setSenderID(long senderID) {
		this.senderID = senderID;
	}

	public boolean isInternetTransaction() {
		return isInternetTransaction;
	}

	public void setInternetTransaction(boolean isInternetTransaction) {
		this.isInternetTransaction = isInternetTransaction;
	}

	public long getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(long createdBy) {
		this.createdBy = createdBy;
	}

	public long getApprovedBy() {
		return approvedBy;
	}

	public void setApprovedBy(long approvedBy) {
		this.approvedBy = approvedBy;
	}

	public long getRelatedTransaction() {
		return relatedTransaction;
	}

	public void setRelatedTransaction(long relatedTransaction) {
		this.relatedTransaction = relatedTransaction;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	

}
